package com.itany.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Author:yaozhiyuan0117@163.com
 * Time:2019/12/21 22:39
 * Describe:
 * version:1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Message {
    Integer id;
    User fromuser;
    User touser;
    String content;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    Date time;
    Integer status;
}
